package com.sc.nft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.MallGoodsLabelEnums;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 分享活动列表DTO
 *
 * @author liGen
 * @version 1.0
 * @date 2023/12/11 2:07 下午
 */
@Data
public class MallActivitySharePageDTO {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "activityId")
    private Long activityId;

    @ApiModelProperty(value = "商品标题")
    private String productName;

    @ApiModelProperty(value = "封面图")
    private String coverImage;

    @ApiModelProperty(value = "活动售价")
    private BigDecimal salesPrice;

    @ApiModelProperty(value = "拼团价")
    private BigDecimal shareSalesPrice;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;

    @ApiModelProperty(value = "是否已开团")
    private Boolean isStartGroup;

    @ApiModelProperty(value = "成团ID")
    private Long teamId;

    @ApiModelProperty(value = "详细规则")
    private String detailedRules;
    @ApiModelProperty(value = "标签图片")
    private String labelImage;

    @ApiModelProperty("开始时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date labelStartTime;

    @ApiModelProperty(value = "标签类型, NEW_LABEL,新品标签,ACTIVITY_LABEL,活动标签")
    private MallGoodsLabelEnums labelType;

    @ApiModelProperty("结束时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date labelEndTime;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
